Skip to content

feat: 알림 눌렀을 때 인증샷 빈화면 버그 수정#355

Merged
jihun32 merged 5 commits into
developfrom
fix/#352/TWI-130
Jun 15, 2026
Merged

feat: 알림 눌렀을 때 인증샷 빈화면 버그 수정#355
jihun32 merged 5 commits into
developfrom
fix/#352/TWI-130

Conversation

@jihun32

@jihun32 jihun32 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

🔗 관련 이슈

📙 작업 내역

  • 인증샷 상세 onAppear될 때 data fetch했었는데 해당 화면에서 알림 누르면 onAppear가 동작 안해 dataFetch를 안해서 흰 화면이 떠서 푸시알림 눌러서 진입했을 경우 onAppear 액션 호출하도록 수정
  • 상대카드 이모지 애니메이션이 코멘트 뒤로가서 앞으로 가도록 수정
  • 인증샷 상세 로딩 인디케이터처리 안되있던거 수정

🎨 스크린샷 또는 시연 영상 (선택)

Simulator.Screen.Recording.-.iPhone.17.Pro.26.-.2026-06-08.at.23.10.12.mov

@linear-code

linear-code Bot commented Jun 8, 2026

Copy link
Copy Markdown

TWI-130

@github-actions github-actions Bot added the D-3 label Jun 8, 2026
@clxxrlove clxxrlove added the feat label Jun 8, 2026
@clxxrlove

Copy link
Copy Markdown
Member

@coderabbitai summary

@github-actions github-actions Bot requested a review from clxxrlove June 8, 2026 14:12
@github-actions github-actions Bot added D-2 and removed D-3 labels Jun 9, 2026

@clxxrlove clxxrlove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생했어~~~

Comment on lines +187 to +195
case let .navigateToGoalDetail(id, owner, date):
state.routes.append(.detail)
let shouldFetchGoalDetail = state.goalDetail != nil
state.goalDetail = .init(
currentUser: owner,
id: id,
verificationDate: date
)
return .none
return shouldFetchGoalDetail ? .send(.goalDetail(.view(.onAppear))) : .none

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이미 인증샷 상세 화면에 있는 상태에서 알림을 누르면, route가 중첩될수도 있을 거 같은데

case let .navigateToGoalDetail(id, owner, date):
    let isAlreadyOnDetail = state.routes.last == .detail

    if !isAlreadyOnDetail {
        state.routes.append(.detail)
    }

    state.goalDetail = .init(
        currentUser: owner,
        id: id,
        verificationDate: date
    )

    return isAlreadyOnDetail
        ? .send(.goalDetail(.view(.onAppear)))
        : .none

이렇게 교체하는 건 어때 ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이런식으로 하려했는데 알림 누를 때 mainTab에서 route를 다 비워 두길래 굳이 안하긴했는데

case let .notificationDeepLinkReceived(deepLink):
            state.selectedTab = .home
            state.home.routes = []

근데 안정성 생각했을 때 있는게 좋긴 할 거 같아서 반영할게!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오케이 !! 반영하고 머지하자

@github-actions github-actions Bot added D-1 and removed D-2 labels Jun 10, 2026
@jihun32 jihun32 force-pushed the fix/#352/TWI-130 branch from c6fdb4a to 8478756 Compare June 15, 2026 11:55
@jihun32 jihun32 merged commit be2d3de into develop Jun 15, 2026
1 check passed
@jihun32 jihun32 deleted the fix/#352/TWI-130 branch June 15, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants